import axios from "../index.js";
// 消息待办 列表
// 分页查询
export const listPage = (data) => {
  return axios.request({
    url: "/system/task/listPage",
    method: "post",
    data: data
  });
};
// 分页查询
export const updateReadState = (data) => {
  return axios.request({
    url: "/system/task/updateReadState",
    method: "get",
    data: data
  });
};
// 删除
export const deleteById = (data) => {
  return axios.request({
    url: "/warning/warningInfo/deleteById",
    method: "post",
    data: data
  });
};
